package com.ruoyi.web.equipment.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备对象 equipment
 * 
 * @author ruoyi
 * @date 2025-07-30
 */
public class Equipment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 型号 */
    @Excel(name = "型号")
    private String model;

    /** 序列号 */
    @Excel(name = "序列号")
    private Long serialNumber;

    /** 详细说明 */
    @Excel(name = "详细说明")
    private String description;

    /** 资产类型 */
    @Excel(name = "资产类型")
    private String assetType;

    /** 类别 */
    @Excel(name = "类别")
    private String category;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 责任人 */
    @Excel(name = "责任人")
    private String respPerson;

    /** 使用人 */
    @Excel(name = "使用人")
    private String user;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;

    /** 删除标记 */
    @Excel(name = "删除标记")
    private Long isDeleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }

    public void setSerialNumber(Long serialNumber) 
    {
        this.serialNumber = serialNumber;
    }

    public Long getSerialNumber() 
    {
        return serialNumber;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setAssetType(String assetType) 
    {
        this.assetType = assetType;
    }

    public String getAssetType() 
    {
        return assetType;
    }

    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setRespPerson(String respPerson) 
    {
        this.respPerson = respPerson;
    }

    public String getRespPerson() 
    {
        return respPerson;
    }

    public void setUser(String user) 
    {
        this.user = user;
    }

    public String getUser() 
    {
        return user;
    }

    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }

    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("model", getModel())
            .append("serialNumber", getSerialNumber())
            .append("description", getDescription())
            .append("assetType", getAssetType())
            .append("category", getCategory())
            .append("status", getStatus())
            .append("respPerson", getRespPerson())
            .append("user", getUser())
            .append("notes", getNotes())
            .append("isDeleted", getIsDeleted())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
